package com.airnewslinkosky.ticket.model;;

public class CItem {
	 private String id = "";
	 private String Value = "";

	 public CItem () {
	  id = "";
	  Value = "";
	 }

	 public CItem (String _id, String _Value) {
		 id = _id;
	  Value = _Value;
	 }

	 public CItem (Object _id, Object _Value) {
		 id = (String)_id;
	  Value = (String)_Value;
	 }
	 
	 @Override
	 public String toString() {           
      //为什么要重写toString()呢？因为适配器在显示数据的时候，如果传入适配器的对象不是字符串的情况下，直接就使用对象.toString()
	  return Value;
	 }


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getValue() {
		return Value;
	}

	public void setValue(String value) {
		Value = value;
	}


}
